package cn.yunhe.dao;

import cn.yunhe.pojo.Account;

import java.util.List;

public interface AccountDao {
    boolean insertAccount(Account account);
    boolean updateAccount(Account account);
    boolean deleteAccount(int id);

    Account getById(int id);
    List<Account>findAccount(String hql);
    List<Account>findAccount(Account account);

}
